package com.loan.system.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.loan.common.core.mapper.BaseMapperPlus;
import com.loan.system.domain.OverOneDataEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author shiguang on 2022/10/9 17:00
 */
public interface OverOneDataMapper extends BaseMapperPlus<OverOneDataMapper, OverOneDataEntity, OverOneDataEntity> {

    List<OverOneDataEntity> selectListByTime(@Param("beginTime") String beginTime, @Param("endTime") String endTime, @Param("userId") Long userId);

    List<Long> selectOverUserList();

    Page<OverOneDataEntity> selectPageList(@Param("page") Page<OverOneDataEntity> build, @Param(Constants.WRAPPER) Wrapper<OverOneDataEntity> buildQueryWrapper);
}
